package study.distributed.shardingjdbc.dao.sharding;

import org.apache.ibatis.annotations.Param;
import study.distributed.shardingjdbc.model.sharding.OrderItemModel;

import java.util.List;

public interface OrderItemMapper{
    void insertList(List<OrderItemModel> list);

    void insert(OrderItemModel item);

    List<OrderItemModel> getUserOrderItem(@Param("uid") int uid, @Param("orderId") long orderId);

}